const express = require('express');

const app = express();


app.get('/wzy1/:id/:name',function (req,res){
    console.log(req.params);
    res.end(JSON.stringify(req.params))
})

app.get('/wzy2',function (req,res){
    console.log(req.query);
    res.end(JSON.stringify(req.query))
})


app.listen(3000)

